; sample program 1
; simple input, output with all four arithmetical operations

START		; initialise
IN 1,R0		; input
IN 1,R1
ADD R0,R1,R2	; addition
OUT R2,2	; output
SUB R0,R1,R2	; subtraction
OUT R2,2 
MUL R0,R1,R2	; multiplication
OUT R2,2
SUB R0,R1,R2	; subtraction
OUT R2,2
HALT		; stop
